ScssPhp\ScssPhp\Node\Number C

Total Complexity 114
Dependencies 7
Dependents 3
Total lines 799
Lines of code 355
Logical lines of code 201
Comment lines 267
Methods 38
Properties 5

Methods 38

Method Rating Maintainability Complexity Lines of code
valueInUnits()
A
43 14 52
equals()
A
56 8 18
multiplyUnits()
S
51 7 29
offsetExists()
S
58 7 17
offsetGet()
S
58 7 16
output()
S
54 6 21
getUnitString()
S
60 5 12
getConversionFactor()
S
63 5 11
modulo()
S
59 4 15
dividedBy()
S
59 4 14
assertSameUnitOrUnitless()
S
61 4 13
isComparableTo()
S
63 4 11
__construct()
S
62 4 11
hasUnit()
S
76 3 3
valueInRangeWithUnit()
S
67 2 7
unitless()
S
77 2 3
assertUnit()
S
70 2 6
valueInRange()
S
67 2 7
unitStr()
S
71 2 6
coerceUnits()
S
63 2 10
coerceNumber()
S
67 2 7
assertNoUnits()
S
70 2 6
getNumeratorUnits()
S
82 1 3
getDenominatorUnits()
S
82 1 3
offsetSet()
S
80 1 3
__toString()
S
81 1 3
offsetUnset()
S
80 1 3
unaryMinus()
S
78 1 3
hasUnits()
S
80 1 3
times()
S
77 1 3
minus()
S
73 1 5
plus()
S
73 1 5
greaterThanOrEqual()
S
73 1 5
greaterThan()
S
74 1 5
lessThanOrEqual()
S
73 1 5
getDimension()
S
82 1 3
coerce()
S
78 1 3
lessThan()
S
73 1 5